-- GENERATED SPELL FOR [Screeching Roguefeather] --


function spell0_4101(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(6595,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4101', 0, 1)
end

function Sorts_4101(pUnit, Event)
local choix_sorts_4101 = math.random(0, 0)
if choix_sorts_4101 == 0 then
pUnit:RegisterEvent('spell0_4101', 1, 1)
end
end

function mob4101_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4101', math.random(1500, 3000), 1)
end

function mob4101_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4101_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4101_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4101, 1, 'mob4101_Action')
RegisterUnitEvent(4101, 2, 'mob4101_Leave')
RegisterUnitEvent(4101, 3, 'mob4101_Kill')
RegisterUnitEvent(4101, 4, 'mob4101_Die')
